package org.tongdao.yulong.h_aware;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Description: TODO
 * @author: 殷玉龙
 * @date: 2020年10月12日 10:47 上午
 */
public class AwareApplication {
  public static void main(String[] args) {
    ApplicationContext ctx = new AnnotationConfigApplicationContext(AwareConfiguration.class);
    AwaredTestBean bean = ctx.getBean(AwaredTestBean.class);
    bean.printBeanNames();
    System.out.println("---------");
    System.out.println(bean.getBeanName());
  }
}
